@extends("home.layouts.main")
@section("content")
@include("home.layouts.show_model")
<!-- Start of Page Container -->
<div class="page-container">
    <div class="container" style="padding-top: 5px; min-height: 600px;">
        <div class="row">
            <!-- start of page content -->
            <div class="col-md-12 page-content" >
                <!-- Basic Home Page Template -->
                <div class="row separator">
                    <section class="col-md-12 articles-list">
                        <h3 class="post-title">{{$model['ps']}}</h3>
                        <hr>
                        <ul class="articles" >
                            @foreach($lists as $list)
                                <li class="article-entry standard">
                                    <h4><a href="/post/{{$list->id}}/show"> <span class="glyphicon glyphicon-edit"></span> {!! str_limit($list->title,50,'...') !!}</a></h4>
                                    <span class="article-meta" >{{$list->created_at}}</span>
                                    <span class="glyphicon glyphicon-eye-open" style="position: absolute; right: 0px; top: 10px"> {{$list->b_count}}</span>
                                </li>
                            @endforeach
                        </ul>
                    </section>
                </div>
                {{$lists->links('ext.page')}}
            </div>
            <!-- end of page content -->
        </div>
    </div>
</div>
<!-- End of Page Container -->
@endsection